/**
 * 
 * 起迪科技 Copyright (c) 2014-2018 QiDi,Inc.All Rights Reserved.
 */
package cn.qidisoft.edu.hzjt.vo;

/**
 * 流程状态定义
 * 
 * @author hxq
 * @version $Id: FlowApprovalState.java, v 0.1 2018年11月6日 上午10:24:55 hxq Exp $
 */
public enum FlowApprovalState {
  /** statex:代表是审核状态;stepStatex:代表审批步骤；userStatex:代表审批人状态 **/
  state0("未提交", 0), state1("审核退回", 1), state2("审核中", 2), state3("审核通过", 3), state8("退回并结束",
      8), state9("撤回", 9), stepState2("审核中", 2), stepState0("未激活", 0), stepState3("审核通过",
          3), stepState1("审核退回", 1), userState0("未审批", 0), userState1("审核退回", 1), userState3("审核通过",
              3);
  private String name;

  private Integer index;

  private FlowApprovalState(String name, Integer index) {
    this.name = name;
    this.index = index;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getIndex() {
    return index;
  }

  public void setIndex(Integer index) {
    this.index = index;
  }

}
